import request from '@/utils/request'


// 获得用户基本信息
export function getInfo() {
  return request({
    url: '/app-api/member/user/get',
    method: 'get'
  })
}

// 根据身份证查询学生信息
export function bindStudent(data) {
  return request({
    url: '/app-api/member/user/bindStudent',
    method: 'post',
		data:data
  })
}

// 根据用户ID查询已绑定学生
export function queryStudent(memberId) {
  return request({
    url: '/app-api/system/student/profile/queryStudentByMemberId?memberId=' + memberId,
    method: 'get',
  })
}

